package com.medical.admin.patient.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 病历状态信息表
 */
@Data
@TableName(value = "mar_medical_record")
public class MedicalRecord {
    /**
     * 病历id
     */
    @TableId(value = "record_id", type = IdType.AUTO)
    private Integer recordId;

    /**
     * 出院状态 0未出院 1已出院 默认1
     */
    @TableField(value = "out_hospital_state")
    private Integer outHospitalState;

    /**
     * 领取方式 0邮寄 1自取 默认0
     */
    @TableField(value = "pickup_method")
    private Integer pickupMethod;

    /**
     * 审核医生
     */
    @TableField(value = "audit_doctor")
    private String auditDoctor;

    /**
     * 审核时间
     */
    @TableField(value = "audit_date")
    private Date auditDate;

    /**
     * 患者id
     */
    @TableField(value = "patient_id")
    private Long patientId;

    /**
     * 病情诊断
     */
    @TableField(value = "diagnose")
    private String diagnose;

    public static final String COL_RECORD_ID = "record_id";

    public static final String COL_OUT_HOSPITAL_STATE = "out_hospital_state";

    public static final String COL_PICKUP_METHOD = "pickup_method";

    public static final String COL_AUDIT_DOCTOR = "audit_doctor";

    public static final String COL_AUDIT_DATE = "audit_date";

    public static final String COL_PATIENT_ID = "patient_id";

    public static final String COL_DIAGNOSE = "diagnose";
}